<div class="root">
  <div class="foo1" onclick="doSomething()">
  <div class="foo2">
